#include"calculator.h"
#include"calculator.cpp"
#include<iostream>

int main(int argc, char* argv[]){
  calculator cal;
  std::cout<<"请输入计算表达式："<<std::endl;
  cal.calculate();
  std::cout<<"计算结果为："<<cal.get_result()<<std::endl;
  return 0;
}
